package com.ruoyi.tcp.enums;

public enum AccessStatusEnum {

    ONLINE(1, "已接入"),
    OFFLINE(0, "未接入");

    private final Integer code;
    private final String desc;

    AccessStatusEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
